package com.cn.mmd.mapper;

import com.cn.mmd.model.StudentGrouping;
import com.cn.mmd.model.TeachingGroup;
import com.cn.mmd.model.TeachingGroupExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TeachingGroupMapper {
    int countByExample(TeachingGroupExample example);

    int deleteByExample(TeachingGroupExample example);

    int deleteByPrimaryKey(Integer groupid);

    int insert(TeachingGroup record);

    int insertSelective(TeachingGroup record);

    List<TeachingGroup> selectByExample(TeachingGroupExample example);

    TeachingGroup selectByPrimaryKey(Integer groupid);

    int updateByExampleSelective(@Param("record") TeachingGroup record, @Param("example") TeachingGroupExample example);

    int updateByExample(@Param("record") TeachingGroup record, @Param("example") TeachingGroupExample example);

    int updateByPrimaryKeySelective(TeachingGroup record);

    int updateByPrimaryKey(TeachingGroup record);

    int deleteByTeaId(String s);

    int deleteByGroupId(Integer TeachingGroupId);

    List<TeachingGroup> selectByTeachingGroupId(Integer teachingGroupId);

    List<TeachingGroup> selectTeacherGroupId(String teacherId);

    List<TeachingGroup> selectSameGroup(TeachingGroup teachingGroup);

    List<TeachingGroup> selectTeacherGroup(int teachingGroupId);

    List<TeachingGroup> selectByTeacherGroupId1(TeachingGroup teachingGroup);

    int updateByTeachingGroupId(TeachingGroup record);
}